package com.exposit.smarthouse.sensor.impl;

import com.exposit.smarthouse.obj.impl.*;
import com.exposit.smarthouse.sensor.*;
import com.exposit.smarthouse.state.*;
import com.exposit.smarthouse.utils.*;

public class NoiseSensorImpl extends SensorEntity implements NoiseSensor
{
    private NoiseState state;

    public NoiseSensorImpl()
    {
        super.setType(TYPE);
    }

    @Override
    public NoiseState getState()
    {
        return state;
    }

    @Override
    public void setState(NoiseState state)
    {
        this.state = state;
    }
}
